﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProcessCheck.aspx.cs" Inherits="DuJianliang.ApplicationPlatform.Proj5715.Process.ProcessCheck" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <base target="_self" />
    <link rel="Stylesheet" type="text/css"  href="../../Styles/Style.css" />
    <style type="text/css">
        .hideStyle
        {
            display: none;
        }
        .style2
        {
            width: 143px;
        }
    </style>
    <script type="text/javascript">

        function checkState() {
            var inputs = document.getElementById("rbl_InspectionState").getElementsByTagName("INPUT")
            for (i = 0; i < inputs.length; i++) {
                if (inputs[i].checked == true) {

                    var val = inputs[i].value;
                    var obj_ddl = document.getElementById("ddl_UnqualifiedType");
                    if (val == 1) {
                        obj_ddl.style.display = "none";
                    } else {
                        obj_ddl.style.display = "block";
                    }
                }
            }
        }    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="350" align="center" style="margin-top:15px">
            <tr>
                <td width="88">
                    审核结果：
                </td>
                <td class="style2"><asp:RadioButtonList ID="rbl_InspectionState" runat="server" RepeatDirection="Horizontal">
                  <asp:ListItem Value="1">合格</asp:ListItem>
                  <asp:ListItem Value="2">不合格</asp:ListItem>
                </asp:RadioButtonList></td>
                     <td width="62">
                  <asp:DropDownList ID="ddl_UnqualifiedType" runat="server" CssClass="hideStyle">
                        <asp:ListItem Value="1">返修</asp:ListItem>
                        <asp:ListItem Value="2">返工</asp:ListItem>
                        <asp:ListItem Value="3">报废</asp:ListItem>
                        <asp:ListItem Value="4">让步使用</asp:ListItem>
                    </asp:DropDownList></td>
                     <td width="50"><asp:Button ID="btn_OK" runat="server" Text="确定" 
                             onclick="btn_OK_Click" /></td>
            </tr>
           
           
           
        </table>
    </div>
    </form>
</body>
</html>
